ip ospf network

This command explicitly sets the network type for the specified interface.

Syntax

ip ospf network {broadcast|non-broadcast|point-to-multipoint |point-to-point}
no ip ospf network  

Command

Description

broadcast

Specifies the OSPF broadcast multi-access network.

non-broadcast

Specifies the OSPF NMBA network.

point-to-multipoint

Specifies the OSPF point-to-multipoint network.

point-to-point

Specifies the OSPF point-to-point network.

Default

NA

Command Mode

Privileged User

Example

This example explicitly sets the network type for the specified interface.

(config-data)# interface vlan1 
(conf-if-VLAN 1)# ip ospf network point-to-point